COM AT+CLCK: : switch locking on / off
COM
COM Used variables:
COM <DA4> Destination address: Own conventional telephone number (phone needs to be ISDN with display 
COM With presentation of calling numbers
COM
COM Version History:
COM Version 1.0   21.11.2003   R. Weiden	started, with adaption for model C62
COM Version 1.1   08.12.2003   R. Weiden        adapted to R65 platform, several improvements
COM -------------------------------------------------------------------------------------------------------------

COM AT+CLIP
COM Calling line identification 

from attglobals import *
AT+CLIP=?
WAIT FOR OK
COM Read mode
AT+CLIP?
WAIT FOR +CLIP:
COM Set to 1
AT+CLIP=1
WAIT FOR OK
COM try to read back
AT+CLIP?
WAIT FOR +CLIP: 1
#COM <H1>ToDo: Extend ATT with RCV command RCV->NOP, WAIT FOR ...</H1>
COM set to 0
AT+CLIP=0
WAIT FOR OK
COM try to read back
AT+CLIP?
WAIT FOR +CLIP: 0

COM ---------------------------------------------------------------------------
COM Check AT+CLIR calling line identification restriction

AT+CLIR=?
WAIT FOR OK
COM read current value
AT+CLIR?
WAIT FOR +CLIR:
COM suppress number, call DA4 and check if number really is suppressed
AT+CLIR=1
WAIT FOR OK
COM verify current value
AT+CLIR?
WAIT FOR +CLIR: 1
ATD <DA4>;
WAIT FOR OK
MESSAGE Please have a look at <DA4>'s display. Incoming call should be incognito. Then hang up phone...
ATH
WAITFOR OK

WAIT 500

COM set to 2 (not incognito)
AT+CLIR=2
WAIT FOR OK
COM verify
AT+CLIR?
WAIT FOR +CLIR: 0,4
ATD <DA4>;
WAIT FOR OK
MESSAGE Please have a look at <DA4>s display. Number of calling mobile should be displayed. Then hang up phone...
ATH
WAIT FOR OK
WAIT 500

COM set to 0
AT+CLIR=0
WAIT FOR OK
COM verify
AT+CLIR?
WAIT FOR +CLIR: 0

COM write nonsense
AT+CLIR=5
WAIT FOR ERROR


